package com.nahan.secondapplication.ImitateDouYin;

import java.util.List;

/**
 * on 2019/9/27
 */
public class CommentListEntity {


        /**
         * total : 2
         * rows : [{"commentId":2,"dynamicId":12,"userId":2,"userName":"VV1796","avatar":"http://","content":"this is comment","isAuthor":"1","commentTime":"3小时前","isZang":1,"countReply":3,"replys":[{"replyId":4,"replyCommentId":2,"commentUserName":"VV1796444","replyUserId":4,"replyUserName":"VV1796","replyUserAvatar":"444","replyContent":"this is comment-reply","replyIsAuthor":"0","replyTime":"09-04"}]}]
         */

        private List<RowsBean> rows;


        public List<RowsBean> getRows() {
            return rows;
        }

        public void setRows(List<RowsBean> rows) {
            this.rows = rows;
        }

        public static class RowsBean {
            /**
             * commentId : 2
             * dynamicId : 12
             * userId : 2
             * userName : VV1796
             * avatar : http://
             * content : this is comment
             * isAuthor : 1
             * commentTime : 3小时前
             * isZang : 1
             * "countPraise": "2",
             * countReply : 3
             * replys : [{"replyId":4,"replyCommentId":2,"commentUserName":"VV1796444","replyUserId":4,"replyUserName":"VV1796","replyUserAvatar":"444","replyContent":"this is comment-reply","replyIsAuthor":"0","replyTime":"09-04"}]
             */
            private boolean isMore;
            private int commentId;
            private int dynamicId;
            private int userId;
            private String userName;
            private String avatar;
            private String content;
            private String isAuthor;
            private String commentTime;
            private int isZang;
            private int countReply;
            private int countPraise;
            private List<ReplysBean> replys;

            public RowsBean(int commentId, int dynamicId, int userId, String userName, String avatar, String content, String isAuthor, String commentTime, int isZang, int countReply, int countPraise, List<ReplysBean> replys) {
                this.commentId = commentId;
                this.dynamicId = dynamicId;
                this.userId = userId;
                this.userName = userName;
                this.avatar = avatar;
                this.content = content;
                this.isAuthor = isAuthor;
                this.commentTime = commentTime;
                this.isZang = isZang;
                this.countReply = countReply;
                this.countPraise = countPraise;
                this.replys = replys;
            }

            public boolean isMore() {
                return isMore;
            }

            public void setMore(boolean more) {
                isMore = more;
            }

            public int getCommentId() {
                return commentId;
            }

            public void setCommentId(int commentId) {
                this.commentId = commentId;
            }

            public int getDynamicId() {
                return dynamicId;
            }

            public void setDynamicId(int dynamicId) {
                this.dynamicId = dynamicId;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getIsAuthor() {
                return isAuthor;
            }

            public void setIsAuthor(String isAuthor) {
                this.isAuthor = isAuthor;
            }

            public String getCommentTime() {
                return commentTime;
            }

            public void setCommentTime(String commentTime) {
                this.commentTime = commentTime;
            }

            public int getIsZang() {
                return isZang;
            }

            public void setIsZang(int isZang) {
                this.isZang = isZang;
            }

            public int getCountReply() {
                return countReply;
            }

            public void setCountReply(int countReply) {
                this.countReply = countReply;
            }

            public List<ReplysBean> getReplys() {
                return replys;
            }

            public void setReplys(List<ReplysBean> replys) {
                this.replys = replys;
            }

            public int getCountPraise() {
                return countPraise;
            }

            public void setCountPraise(int countPraise) {
                this.countPraise = countPraise;
            }

            public static class ReplysBean {
                /**
                 * replyId : 4
                 * replyCommentId : 2
                 * commentUserName : VV1796444
                 * replyUserId : 4
                 * replyUserName : VV1796
                 * replyUserAvatar : 444
                 * replyContent : this is comment-reply
                 * replyIsAuthor : 0
                 * replyTime : 09-04
                 */

                private int replyId;
                private int replyCommentId;
                private String commentUserName;
                private int replyUserId;
                private String replyUserName;
                private String replyUserAvatar;
                private String replyContent;
                private String replyIsAuthor;
                private String replyTime;

                public ReplysBean(String replyIsAuthor, String replyUserName, String replyContent, String replyTime, String replyUserAvatar, String commentUserName) {
                    this.replyIsAuthor = replyIsAuthor;
                    this.replyUserName = replyUserName;
                    this.replyUserAvatar = replyUserAvatar;
                    this.replyContent = replyContent;
                    this.replyTime = replyTime;
                    this.commentUserName = commentUserName;
                }

                public int getReplyId() {
                    return replyId;
                }

                public void setReplyId(int replyId) {
                    this.replyId = replyId;
                }

                public int getReplyCommentId() {
                    return replyCommentId;
                }

                public void setReplyCommentId(int replyCommentId) {
                    this.replyCommentId = replyCommentId;
                }

                public String getCommentUserName() {
                    return commentUserName;
                }

                public void setCommentUserName(String commentUserName) {
                    this.commentUserName = commentUserName;
                }

                public int getReplyUserId() {
                    return replyUserId;
                }

                public void setReplyUserId(int replyUserId) {
                    this.replyUserId = replyUserId;
                }

                public String getReplyUserName() {
                    return replyUserName;
                }

                public void setReplyUserName(String replyUserName) {
                    this.replyUserName = replyUserName;
                }

                public String getReplyUserAvatar() {
                    return replyUserAvatar;
                }

                public void setReplyUserAvatar(String replyUserAvatar) {
                    this.replyUserAvatar = replyUserAvatar;
                }

                public String getReplyContent() {
                    return replyContent;
                }

                public void setReplyContent(String replyContent) {
                    this.replyContent = replyContent;
                }

                public String getReplyIsAuthor() {
                    return replyIsAuthor;
                }

                public void setReplyIsAuthor(String replyIsAuthor) {
                    this.replyIsAuthor = replyIsAuthor;
                }

                public String getReplyTime() {
                    return replyTime;
                }

                public void setReplyTime(String replyTime) {
                    this.replyTime = replyTime;
                }
            }
        }

}
